<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>08_Bootrstap-网格系统指定列宽</title>
  <link rel="stylesheet" href="./libs/bootstrap-4.6.1/css/bootstrap.css">
  <style>
    .container {
      background-color: pink;
    }
    .item {
      height: 40px;
      border: 1px solid red;
    }
  </style>
</head>
<body>

  <h3>1. flex: 0 0 xx%;</h3>
  <div class="container">
    <div class="row">
      <!-- 
        flex: 0 0 xx%;
       -->
      <div class="col-1 item">1</div>
      <div class="col-2 item">2</div>
      <div class="col-3 item">3</div>
      <div class="col-6 item">4</div>
      <div class="col-1 item">5</div>
      <div class="col-1 item">6</div>
      <div class="col-1 item">7</div>
    </div>

    <div class="row">
      <!-- 
        flex: 0 0 xx%;
       -->
      <div class="col-1 item">1</div>
      <div class="col-2 item">2</div>
      <div class="col-3 item">3</div>
      <div class="col-6 item">4</div>

    </div>
  </div>
</body>
</html>